package cn.kt.ipcount.chatgpt.service;

import cn.kt.ipcount.chatgpt.domain.ChatgptInfo;
import org.springframework.data.domain.Pageable;

import java.util.Date;
import java.util.List;

/**
 * Created by tao.
 * Date: 2023/2/10 14:15
 * 描述:
 */
public interface ChatgptService {
    List<ChatgptInfo> queryAll();

    List<ChatgptInfo> queryYesterday(Date start, Date end);

    List<ChatgptInfo> findAllByOrderByIdDesc(Pageable pageable);

    ChatgptInfo save(ChatgptInfo ipInfo);

}
